﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucDanhMuc.ascx.cs" Inherits="SES.CMS.Module.ucDanhMuc" %>
<div style="display: none;">
</div>
<div class="top-left-menu">
    <a href="/SanPham/Filter/San-Pham.aspx">DANH MỤC SẢN PHẨM</a></div>
<!--End top-left-menu-->
<div class="left-content-uc">
    <div class="left-menu">
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <ul>
                    <asp:Repeater runat="server" ID="rpt" OnItemDataBound="rpt_ItemDataBound">
                        <ItemTemplate>
                            <li><a href="<%#"/SanPham/LoaiSP/"+Eval("LoaiSanPhamID")+"/"+FriendlyUrl(Eval("TenLoaiSanPham").ToString())%>">
                                <span style="color: Black; padding-right: 5px; font-weight: normal; font-size: 16px;">
                                    »</span><%#Eval("TenLoaiSanPham") %></a>
                                <asp:ImageButton ID="imgbt2" Visible="false" runat="server" CssClass="btn" ImageUrl="~/images/3.png"
                                    Height="10px" Width="10px" OnClick="imgbt_Click" />
                                <%--<%#check(Eval("LoaiSanPhamID").ToString())%>--%>
                            </li>
                        </ItemTemplate>
                    </asp:Repeater>
                </ul>
                <div style="float:right;margin-right:5px;color:Red;">
                    <asp:LinkButton ID="lbXem" runat="server" Text="Xem thêm" CausesValidation="false" OnClick="btnXemThem_Click"></asp:LinkButton>
                    <asp:LinkButton ID="lkAn" Visible="false" runat="server" Text="Ẩn" CausesValidation="false" OnClick="btnAn_Click"></asp:LinkButton>
                </div>
            

                <ul>
                    <asp:Repeater runat="server" ID="rpt2">
                        <ItemTemplate>
                            <li><a href="<%#"/SanPham/FilterDM/"+Eval("LoaiSanPhamID")+"/"+FriendlyUrl(Eval("TenLoaiSanPham").ToString())%>">
                                <span style="color: Black; padding-right: 5px; font-weight: normal; font-size: 16px;">
                                    »</span><%#Eval("TenLoaiSanPham") %></a> </li>
                        </ItemTemplate>
                    </asp:Repeater>
                </ul>
                <div style="float:right;margin-right:5px;color:Red;">
                    <asp:LinkButton ID="lkXem2" runat="server" Text="Xem thêm" Visible="false" OnClick="btnXemThem2_Click"></asp:LinkButton>
                    <asp:LinkButton ID="lkAn2" Visible="false" runat="server" Text="Ẩn" OnClick="btnAn2_Click"></asp:LinkButton>
                </div>
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
    <!--End left-menu-->
</div>
